/**  
 * 文 件 名: IRightTypeDAO.java  
 * 描    述：   
 * 版    权：Copyright (c)20012-2012 tongzhou All Rights Reserved.
 * 公    司: 同舟 
 * 作    者：彭定雄                     
 * 版    本: 1.0  
 * 创建时间: 2012-10-27
 *  
 * 修改历史：  
 * 时间                             作者                       版本                        描述  
 * ------------------------------------------------------------------  
 * 2012-10-27        彭定雄                1.0          1.0 Version  
 */       

/**
 * 
 */
package com.tongzhou.system.rightsMgmt.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.system.rightsMgmt.model.RightType;
import com.tongzhou.system.rightsMgmt.model.SearchRightTypeCondition;

public interface IRightTypeDAO {
	public List<RightType> listRightType(SearchRightTypeCondition condition) throws DBException;
	public List<RightType> checkRightTypeByName(RightType rightType) throws DBException;
	public List<RightType> checkRightTypeByTableName(RightType rightType) throws DBException;
//	public List<RightType> getAllRightType() throws DBException;
	public void addRightType(RightType rightType) throws DBException;
	public void deleteRightType(RightType rightType) throws DBException;
	public void updateRightType(RightType rightType) throws DBException;
	public RightType getRightTypeById(RightType rightType) throws DBException;
}
